﻿using System;

namespace Common.Web.Pages
{
    /// <summary>
    /// 前台验证数据完整性
    /// </summary>
    public class FrontValidatePage : PageBase, Reflection.DAL.InterFace.IInsertPage
    {
        /// <summary>
        /// 返回JS的Validate方法，true/false
        /// </summary>
        /// <returns></returns>
        public string GetValidateString(object obj)
        {
            return new Reflection.DAL.Tools.EntityHelper().GetValidateString(obj);
        }
    }
}
